//
//  NSIndexPath+Offset.h
//  RNFoundationCatogry
//
//  Created by Nicolas Goutaland on 15/04/04.
//  Copyright (c) 2015年 Sogou. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface NSIndexPath (Offset)
/* Compute previous row indexpath */
- (NSIndexPath *)previousRow;

/* Compute next row indexpath */
- (NSIndexPath *)nextRow;

/* Compute previous item indexpath */
- (NSIndexPath *)previousItem;

/* Compute next item indexpath */
- (NSIndexPath *)nextItem;

/* Compute next section indexpath */
- (NSIndexPath *)nextSection;

/* Compute previous section indexpath */
- (NSIndexPath *)previousSection;

@end
